﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VoucherImport.ascx.cs" Inherits="PayrollHR.Administration.Modules.VoucherImportControl" %>
<%@ Register Src="SimpleTextBox.ascx" TagName="SimpleTextBox" TagPrefix="uc6" %>
<%@ Register Src="EmailTextBox.ascx" TagName="EmailTextBox" TagPrefix="uc5" %>
<%@ Register Src="DecimalTextBox.ascx" TagName="DecimalTextBox" TagPrefix="uc3" %>
<%@ Register Src="DatePicker.ascx" TagName="DatePicker" TagPrefix="uc2" %>
<%@ Register Src="ToolTipLabelControl.ascx" TagName="ToolTipLabelControl" TagPrefix="uc1" %>
<table class="adminContent">
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl ID="lblCustAddres" runat="server" Text="Đơn vị xuất hóa đơn"
                ToolTip="Đơn vị xuất hóa đơn" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList ID="ddlOwner" CssClass="adminInput" runat="server" AutoPostBack="false">                
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="rfv1" runat="server" ControlToValidate="ddlOwner" ValidationGroup="import" InitialValue="0" ErrorMessage="Bạn phải chọn đơn vị xuất hóa đơn"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl ID="ToolTipLabelControl2" runat="server" Text="Nhà phân phối"
                ToolTip="Nhà phân phối" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList ID="ddlCustomer" CssClass="adminInput" runat="server" AutoPostBack="false">
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="import" ControlToValidate="ddlCustomer" InitialValue="0" ErrorMessage="Bạn phải chọn đơn vị xuất hóa đơn"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl ID="ToolTipLabelControl1" runat="server" Text="Chọn file import"
                ToolTip="Chọn file import" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:FileUpload ID="ImportFileUpload" accept=".xls,.xlsx" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="adminTitle"></td>
        <td class="adminData">
            <div class="options">
                <asp:Button ID="SaveButton" runat="server" ValidationGroup="import" CssClass="adminButtonBlue" Text="Save" ToolTip="Save"
                 OnClick="SaveButton_Click"   />
            </div>
        </td>
    </tr>
</table>
